package com.service;

import com.javabean.Permission;

import java.util.List;

public interface PermissionService {
    List<Permission> findAll();

    void add(Permission permission);

    void deleteById(int id);

    Permission findById(int id);

    void edit(Permission permission);

    List<Permission> findByRid(int rid);
}
